package com.lx.bilibili.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author lx
 * @since 2025-04-06
 */
@Getter
@Setter
@TableName("videoplayhistroy")
public class Videoplayhistroy implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 视频id
     */
    @TableField("vid")
    private Integer vid;

    /**
     * 用户id
     */
    @TableField("uid")
    private Integer uid;

    /**
     * 播放时间
     */
    @TableField("time")
    private LocalDateTime time;

    /**
     * 结束时间
     */
    @TableField("endtime")
    private Integer endtime;

}
